/* eslint-disable */
import { exec } from './cordova/exec';
var APP_PLUGIN_NAME = 'Ylz.ReadICK';
exec.init();


var ylzReadICK = {
  /**
   * 读取身份证
   * @param {any} callback
   * @param {any} arg
   */
  
  readIDCard: function (callback, arg) {
    exec.setNativeToJsBridgeMode(3);
    exec(callback, null, APP_PLUGIN_NAME, 'readIDCard', arg);
  },
  /**
   * 读取ICK
   * @param {any} callback
   * @param {any} arg
   */
  readICK: function (callback, arg) {
      exec.setNativeToJsBridgeMode(3);
    exec(callback, null, APP_PLUGIN_NAME, 'readICK', arg);
  }
};
// 暴露给全局变量window
window.ylzReadICK = ylzReadICK;
export { ylzReadICK }
/* eslint-enable */// JavaScript source code
